package seGobangClient.mainMenu;

import seGobangClient.GlobalController;
import seGobangClient.ICommand;

/**
 *
 * @author plus
 */
public class CommandChangeSceneToOnlineHall implements ICommand{
    
    public Object execute(Object Param) {
        try{
           GlobalController.setCurrentSceneController(
                   new seGobangClient.onlineHall.OnlineHallController(
                   GlobalController.getCurrentUISystem()));
        }catch(Exception e){
            e.printStackTrace();
        }
       return null;
    }

    public Object undo() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
